<?

$baiduHtml='';
$advHtml = '';
$talkqqHtml='';

if ($_GET['test']) {
    print_r($h_config[$httphost]);
}

// 票付通才有
if(empty($h_config[$httphost]['host'])){
    // 百度信誉防伪
    $baiduHtml =<<<'h'
    <div style="display:none">
    <script type="text/javascript">
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F30452996274e785d649f73765c1f20f4' type='text/javascript'%3E%3C/script%3E"));
    </script>
    </div>
h;


// 四个说明
    $advHtml=<<<h
    <div class="ind_list">
        <ul>
            <li class="frish">
                <a href="###"><img src="images/img/img1.png" class="ind_tita" /></a>
                <a href="###" class="ind_tita">智慧旅游O2O开放平台</a>
                <a href="###" class="ind_cona">O2O即让互联网成为旅游业务交易的前台，{$h_config[$httphost]['name']}平台自身不参与产品运营，平台资源即为供应商资源；支持款到出票，保证供应商资金安全。</a>
            </li>
            <li>
                <a href="###"><img src="images/img/img2.png" class="ind_tita" /></a>
                <a href="###" class="ind_tita">云技术支撑平台</a>
                <a href="###" class="ind_cona">{$h_config[$httphost]['name']}平台是基于云技术及SAAS模式搭建的服务平台，中小旅游景区无需投入大额资金独立建设、组建专门运维技术团队，即可获得先进技术平台及专业团队服务。</a>
            </li>
            <li>
                <a href="###"><img src="images/img/img3.png" class="ind_tita" /></a>
                <a href="###" class="ind_tita">全网分销 / 直销服务</a>
                <a href="###" class="ind_cona"><?=$h_config[$httphost]['name']?>平台自动对接了包括同程、携程、去哪儿、淘宝/天猫等知名旅游电商平台；实现传统旅行社在线报团、预订、支付、授信等分销业务；免费搭建景区官网直销。</a>
            </li>
            <li>
                <a href="###"><img src="images/img/img4.png" class="ind_tita" /></a>
                <a href="###" class="ind_tita">配套先进验证设备</a>
                <a href="###" class="ind_cona">{$h_config[$httphost]['name']}平台配套提供先进的云终端、云闸机验证设备。支持数字码、二维码、二代身份证等多种凭证介质；支持GPRS、CDMA、WIFI、LAN等多种通讯方式。</a>
            </li>
        </ul>
    </div>
h;

    // 咨询QQ
    $talkqqHtml=<<<'h'
    <div style="position:absolute; z-index:9; right:-20px; _right:-110px; top:-80px; width:10px; height:10px;">
        <div class="talk_qq">
            <div>
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=873229066&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:873229066:52" alt="点击这里给我发消息" title="点击这里给我发消息" />一票</a>
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=522645377&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:522645377:52" alt="点击这里给我发消息" title="点击这里给我发消息" />秀秀</a>

            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1835050669&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:1835050669:52" alt="点击这里给我发消息" title="点击这里给我发消息" />平平</a>
            </div>
        </div>
        <style>
        .talk_qq{ position:fixed; z-index:9; bottom:30px; width:50px; width:85px; height:103x; text-align:center; background:url('images/talk_qq.png') no-repeat; padding:39px 4px 37px;}
        body .talk_qq a{ display:inline-block; margin-bottom:5px; color:#333; height: 15px; line-height: 21px;}
        body .talk_qq a:hover{ text-decoration:none;}
        .talk_qq a img{vertical-align:-6px;margin-right:5px;}
        </style>
    </div>
h;
}


if($h_config[$httphost]['host']=='k.16u.com'){
$advHtml=<<<h
<div class="ind_list">
	<ul>
		<li class="frish">
			<a href="http://www.16u.com/jq/s?key=旗山森林温泉"><img src="images/img/qishan.png" class="ind_tita" /></a>
			<a href="http://www.16u.com/jq/s?key=旗山森林温泉" class="ind_tita">旗山森林温泉</a>
			<a href="http://www.16u.com/jq/s?key=旗山森林温泉" class="ind_cona">福州旗山森林温泉度假村位于素有“东鼓西旗”全闽二绝的旗山国家森林公园内，距福州市中心仅20公里，项目占地600余亩，总投资5亿元，系福州市打造“温泉之都”的又一重要产品。</a>
		</li>
		<li>
			<a href="http://www.16u.com/jq/s_284.html"><img src="images/img/xishan.png" class="ind_tita" /></a>
			<a href="http://www.16u.com/jq/s_284.html" class="ind_tita">溪山温泉</a>
			<a href="http://www.16u.com/jq/s_284.html" class="ind_cona">溪山温泉拥有优质温泉水——日出水达7000吨的含氟、含氡温泉，中国首个高端会员制温泉俱乐部，独有的花样四季SPA等。3万平米亲水温泉公园，拥有绿荫环抱、种类繁多的露天汤池百余口.</a>
		</li>
		<li>
			<a href="http://www.16u.com/jq/s_242.html"><img src="images/img/taimushan.png" class="ind_tita" /></a>
			<a href="http://www.16u.com/jq/s_242.html" class="ind_tita">福鼎太姥山</a>
			<a href="http://www.16u.com/jq/s_242.html" class="ind_cona">太姥山位于闽浙交界的福建省福鼎市境内，距市区45公里，雄峙于东海之滨，晴川湾畔，山海相依，傲岸秀拔，气势恢宏，景致独特，素以“海上仙都”而著称。 </a>
		</li>
		<li>
			<a href="http://www.16u.com/jq/s_137.html"><img src="images/img/jinmen.png" class="ind_tita" /></a>
			<a href="http://www.16u.com/jq/s_137.html" class="ind_tita">厦门海上看金门</a>
			<a href="http://www.16u.com/jq/s_137.html" class="ind_cona">厦门轮船码头乘豪华游船朝着金门岛方向驶去，沿途1小时20分钟在海上观赏鹭江两岸山海奇观，厦门岛的风格各异的高楼大厦鳞次栉比满目繁华，与鼓浪屿的山林叠翠亭台掩映遥遥相对，奇旎风光尽收眼底。</a>
		</li>
	</ul>
</div>
h;
}
if($h_config[$httphost]['host']=='1111.com.cn'){
$advHtml=<<<h
<div class="ind_list">
	<ul>
		<li class="frish">
			<a href="###"><img src="images/img/img1.png" class="ind_tita" /></a>
			<a href="###" class="ind_tita">智慧旅游O2O开放平台</a>
			<a href="###" class="ind_cona">O2O即让互联网成为旅游业务交易的前台，{$h_config[$httphost]['name']}平台自身不参与产品运营，平台资源即为供应商资源；支持款到出票，保证供应商资金安全。</a>
		</li>
		<li>
			<a href="###"><img src="images/img/img2.png" class="ind_tita" /></a>
			<a href="###" class="ind_tita">云技术支撑平台</a>
			<a href="###" class="ind_cona">{$h_config[$httphost]['name']}平台是基于云技术及SAAS模式搭建的服务平台，中小旅游景区无需投入大额资金独立建设、组建专门运维技术团队，即可获得先进技术平台及专业团队服务。</a>
		</li>
		<li>
			<a href="###"><img src="images/img/img3.png" class="ind_tita" /></a>
			<a href="###" class="ind_tita">全网分销 / 直销服务</a>
			<a href="###" class="ind_cona"><?=$h_config[$httphost]['name']?>平台自动对接了包括同程、携程、去哪儿、淘宝/天猫等知名旅游电商平台；实现传统旅行社在线报团、预订、支付、授信等分销业务；免费搭建景区官网直销。</a>
		</li>
		<li>
			<a href="###"><img src="images/img/img4.png" class="ind_tita" /></a>
			<a href="###" class="ind_tita">配套先进验证设备</a>
			<a href="###" class="ind_cona">{$h_config[$httphost]['name']}平台配套提供先进的云终端、云闸机验证设备。支持数字码、二维码、二代身份证等多种凭证介质；支持GPRS、CDMA、WIFI、LAN等多种通讯方式。</a>
		</li>
	</ul>
</div>
h;
}

// 票务通不要注册按钮
if($h_config[$httphost]['host']=='www.paypiao.cn'){
	$link='';
}else{
	$link = '<input type="button" class="login_btn logs" value="免费注册" onclick="window.location.href=\'register.html\'" />';
}
if($h_config[$httphost]['host']=='www.haopiaowang.net'){
	$link=''; 
}else{
	$link = '<input type="button" class="login_btn logs" value="免费注册" onclick="window.location.href=\'register.html\'" />';
} 
// 水魔方要求有自己的banner
if($h_config[$httphost]['host']=='smf.12301.cc'){
$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/img/smf-01.png" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/smf-02.png" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/smf-03.png" /></a>
</div>
h;

}/*白水洋要求有自己的banner*/
elseif ($h_config[$httphost]['host']=='mp.yyx.com.cn'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/img/1bai.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/2bai.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/3bai.jpg" /></a>
</div>
h;

}
elseif ($h_config[$httphost]['host']=='www.xpchong.com'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/img/xpchong1.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/xpchong2.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/xpchong3.jpg" /></a>
</div>
h;

}
 
elseif ($h_config[$httphost]['host']=='www.clhlpw.com'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/hongli1.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/hongli2.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/hongli3.jpg" /></a>
</div>
h;

}

elseif ($h_config[$httphost]['host']=='www.haopiaowang.net'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/haopiao1.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/haopiao2.jpg" /></a> 
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/haopiao3.jpg" /></a>
</div>
h;
 
}

elseif ($h_config[$httphost]['host']=='hjzl.12301.cc'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/img/hongjin01.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/hong2.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/hongjin3.jpg" /></a>
</div>
h;

}

elseif ($h_config[$httphost]['host']=='gxglly.12301.cc'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/gxglly2.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/gxglly1.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/gxglly3.jpg" /></a>
</div>
h;

}

elseif ($h_config[$httphost]['host']=='www.qhdmp.com'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/baihe.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/baihe.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/baihe.jpg" /></a>
</div>  
h;

}




elseif ($h_config[$httphost]['host']=='yyd.12301.cc'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/img/yunding1.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/yunding2.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/yunding3.jpg" /></a>
</div>
h;

}

elseif ($h_config[$httphost]['host']=='www.haiyuan.pw'){

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="http://www.12301.cc/images/fenxiaoshang/hy_t.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="http://www.12301.cc/images/fenxiaoshang/hy_t.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="http://www.12301.cc/images/fenxiaoshang/hy_t.jpg" /></a>
</div>
h;

}

// elseif ($h_config[$httphost]['host']=='youyouba.12301.cc'){

// $bannerhtml =<<<'h'
// <div class="ban_img" id="slider">
	// <a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/youyouba1.jpg" /></a>
	// <a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/youyouba2.jpg" /></a>
	// <a style="cursor:auto" target="_blank"><img src="images/fenxiaoshang/youyouba3.png" /></a>
// </div>
// h;

// }




else{

$bannerhtml =<<<'h'
<div class="ban_img" id="slider">
	<a style="cursor:auto" target="_blank"><img src="images/img/benner1.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/benner2.jpg" /></a>
	<a style="cursor:auto" target="_blank"><img src="images/img/benner3.jpg" /></a>
</div>
h;

}

$s->Fetch_String("talkqq",$talkqqHtml);
$s->Fetch_String("showReg",$link);
$s->Fetch_String("bannerhtml",$bannerhtml);
$s->Fetch_String("baiduHtml",$baiduHtml);
$s->Fetch_String("advHtml",$advHtml);

?>